package com.zjgsu.service;/*
Date: 2018-04-10 21:51
Description: 
*/

import com.zjgsu.dao.UserDAO2;
import com.zjgsu.entity.User2;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService2 {
    @Autowired
    UserDAO2 userDAO2;
    public User2 checkUser(String username, String password) {
        User2 user2 = userDAO2.selectUser(username,password);
        return user2;
    }
}
